package cn.echo.modules.sys.entity;

import cn.echo.common.baseentity.BaseEntity;

/**
 * Created by Administrator on 2017/4/12.
 */
public class Link extends BaseEntity{
    private String name;
    private String url;
    private int weight;//越小越靠前，0是置顶

    public Link() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    @Override
    public String toString() {
        return "Link{" +
                "name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", weight=" + weight +
                '}';
    }
}
